package com.easy.project.constant;

import com.easy.project.base.constant.IBaseEnumParam;
import lombok.AllArgsConstructor;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

@AllArgsConstructor
public enum BooleanEnum implements IBaseEnumParam<Integer> {
    TRUE(1,"正确"),
    FALSE(0,"错误");

    /**
     * 编码
     */
    private final Integer code;
    /**
     *
     */
    private final String desc;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

}
